/*
 * @filename JpaScanConfiguration.java
 * @author barry
 * @version 0.0.1
 * @date 2020年2月17日
 */
package cn.com.lms.config;

import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.boot.web.servlet.ServletComponentScan;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;

/**
 * @author barry
 * @date 2020-02-17
 */
@ComponentScan(basePackages = {"cn.com.lms", "cn.com.lms"})
@EnableJpaRepositories(basePackages = {"cn.com.lms.business.**.persistence.repository"})
@EntityScan(basePackages = {"cn.com.lms.business.**.persistence.entity"})
@ServletComponentScan(basePackages = {"cn.com.lms.filter"})
@Configuration
public class ComponentScanConfiguration {

}
